<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_polar_spectrogram.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__polar__spectrogram_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_polar_spectrogram.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * QwtPolar Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 2008   Uwe Rathmann</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;qwt_polar_spectrogram.h&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_polar.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_polar_plot.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_color_map.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_map.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_raster_data.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;qwt_math.h&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;qwt_clipper.h&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;qpainterpath.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;qthread.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;qfuture.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;qtconcurrentrun.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#if QT_VERSION &lt; 0x050000</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;qnumeric.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">class </span>QwtPolarSpectrogram::TileInfo</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    QPoint imagePos;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    QRect rect;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    QImage* image;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;};</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">class </span>QwtPolarSpectrogram::PrivateData</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        : <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">data</a>( NULL )</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">colorMap</a> = <span class="keyword">new</span> <a class="code" href="class_qwt_linear_color_map.html">QwtLinearColorMap</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    }</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    ~PrivateData()</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">data</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">colorMap</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">data</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">colorMap</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="class_qwt_polar_spectrogram.html#ad37a948d0cc5fcde570608124c624a76">QwtPolarSpectrogram::PaintAttributes</a> paintAttributes;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;};</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a109af767a738b23d7943496dc38e04be">   58</a></span>&#160;<a class="code" href="class_qwt_polar_spectrogram.html#a109af767a738b23d7943496dc38e04be">QwtPolarSpectrogram::QwtPolarSpectrogram</a>()</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    : <a class="code" href="class_qwt_polar_item.html">QwtPolarItem</a>( <a class="code" href="class_qwt_text.html">QwtText</a>( <span class="stringliteral">&quot;Spectrogram&quot;</span> ) )</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    m_data = <span class="keyword">new</span> PrivateData;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <a class="code" href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">setItemAttribute</a>( <a class="code" href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a7f9ee77f4ec3170c4c7255bf4bd4399c">QwtPolarItem::AutoScale</a> );</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">setItemAttribute</a>( <a class="code" href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e">QwtPolarItem::Legend</a>, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="class_qwt_polar_item.html#acef8efd945a194b70a11ad39060de917">setZ</a>( 20.0 );</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;}</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a4586a2019e6942785e764281b961264b">   70</a></span>&#160;<a class="code" href="class_qwt_polar_spectrogram.html#a4586a2019e6942785e764281b961264b">QwtPolarSpectrogram::~QwtPolarSpectrogram</a>()</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;}</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a5a9d3b56a601ca2502ae9c6246e53724">   76</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_polar_spectrogram.html#a5a9d3b56a601ca2502ae9c6246e53724">QwtPolarSpectrogram::rtti</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_polar_item.html#a6c03d774c1d089ec8603dd37879a9f4dad95b3f4515ee8f2058c633a5d2367427">QwtPolarItem::Rtti_PolarSpectrogram</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;}</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a37b631a8deea881f5a5b526810f5f131">   91</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_spectrogram.html#a37b631a8deea881f5a5b526810f5f131">QwtPolarSpectrogram::setData</a>( <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* data )</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;{</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">data</a> != m_data-&gt;data )</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    {</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="keyword">delete</span> m_data-&gt;data;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        m_data-&gt;data = <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">data</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">  106</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* <a class="code" href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">QwtPolarSpectrogram::data</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;}</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a67b139ab25609fedd703e25b65ffe524">  122</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_spectrogram.html#a67b139ab25609fedd703e25b65ffe524">QwtPolarSpectrogram::setColorMap</a>( <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* colorMap )</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;{</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;colorMap != <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">colorMap</a> )</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keyword">delete</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        m_data-&gt;colorMap = <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">colorMap</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    }</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;}</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">  137</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">QwtPolarSpectrogram::colorMap</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#ab18845ab247ca1f1020a6c7e9cb9f666">  149</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_spectrogram.html#ab18845ab247ca1f1020a6c7e9cb9f666">QwtPolarSpectrogram::setPaintAttribute</a>( <a class="code" href="class_qwt_polar_spectrogram.html#a2a6dc68b2e1aa6959b196223bfe2e974">PaintAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;{</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        m_data-&gt;paintAttributes |= attribute;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        m_data-&gt;paintAttributes &amp;= ~attribute;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;}</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#ac0684f56d3b1329c1542ae4113f005e8">  162</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_polar_spectrogram.html#ac0684f56d3b1329c1542ae4113f005e8">QwtPolarSpectrogram::testPaintAttribute</a>( <a class="code" href="class_qwt_polar_spectrogram.html#a2a6dc68b2e1aa6959b196223bfe2e974">PaintAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;paintAttributes &amp; attribute );</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;}</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#aeb90f9e41dc95a8ae24b4322d7708ee8">  177</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_spectrogram.html#aeb90f9e41dc95a8ae24b4322d7708ee8">QwtPolarSpectrogram::draw</a>( QPainter* painter,</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; azimuthMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; radialMap,</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keyword">const</span> QPointF&amp; pole, <span class="keywordtype">double</span>,</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect )<span class="keyword"> const</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keyword">const</span> QRectF plotRect = <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">plot</a>()-&gt;<a class="code" href="class_qwt_polar_plot.html#abd78afb479d3e1cdb9c15c3a7ffaf159">plotRect</a>( canvasRect.toRect() );</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    QRect imageRect = canvasRect.toRect();</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    painter-&gt;save();</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160; </div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    painter-&gt;setClipRect( canvasRect );</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    QPainterPath clipPathCanvas;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    clipPathCanvas.addEllipse( plotRect );</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    painter-&gt;setClipPath( clipPathCanvas, Qt::IntersectClip );</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    imageRect &amp;= plotRect.toAlignedRect(); <span class="comment">// outer rect</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> radialInterval = <a class="code" href="class_qwt_polar_spectrogram.html#aeb3e2a6df2960c06d104fe3b80ca39be">boundingInterval</a>( QwtPolar::ScaleRadius );</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">if</span> ( radialInterval.<a class="code" href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">isValid</a>() )</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    {</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">double</span> radius = radialMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( radialInterval.<a class="code" href="class_qwt_interval.html#a44820fa5d6e6cefa59dc31ea0d522d61">maxValue</a>() ) -</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            radialMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( radialInterval.<a class="code" href="class_qwt_interval.html#a0df143a36d76a677976d82987cab8a06">minValue</a>() );</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        QRectF clipRect( 0, 0, 2 * radius, 2 * radius );</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        clipRect.moveCenter( pole );</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        imageRect &amp;= clipRect.toRect(); <span class="comment">// inner rect, we don&#39;t have points outside</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        QPainterPath clipPathRadial;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        clipPathRadial.addEllipse( clipRect );</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        painter-&gt;setClipPath( clipPathRadial, Qt::IntersectClip );</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    }</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keyword">const</span> QImage image = <a class="code" href="class_qwt_polar_spectrogram.html#a8cb2924bfa2bee7e9f03c8b87afd2f2f">renderImage</a>( azimuthMap, radialMap, pole, imageRect );</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    painter-&gt;drawImage( imageRect, image );</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    painter-&gt;restore();</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;}</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#a8cb2924bfa2bee7e9f03c8b87afd2f2f">  235</a></span>&#160;QImage <a class="code" href="class_qwt_polar_spectrogram.html#a8cb2924bfa2bee7e9f03c8b87afd2f2f">QwtPolarSpectrogram::renderImage</a>(</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; azimuthMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; radialMap,</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keyword">const</span> QPointF&amp; pole, <span class="keyword">const</span> QRect&amp; rect )<span class="keyword"> const</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL || m_data-&gt;colorMap == NULL )</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keywordflow">return</span> QImage();</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    QImage image( rect.size(), m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                  ? QImage::Format_ARGB32 : QImage::Format_Indexed8 );</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> intensityRange = m_data-&gt;data-&gt;interval( Qt::ZAxis );</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keywordflow">if</span> ( !intensityRange.<a class="code" href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">isValid</a>() )</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keywordflow">return</span> image;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        image.setColorTable( m_data-&gt;colorMap-&gt;colorTable256() );</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment">       For the moment we only announce the composition of the image by</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="comment">       calling initRaster(), but we don&#39;t pass any useful parameters.</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment">       ( How to map rect into something, that is useful to initialize a matrix</span></div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="comment">       of values in polar coordinates ? )</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    m_data-&gt;data-&gt;initRaster( QRectF(), QSize() );</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">#if !defined( QT_NO_QFUTURE )</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    uint numThreads = <a class="code" href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">renderThreadCount</a>();</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160; </div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <span class="keywordflow">if</span> ( numThreads &lt;= 0 )</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        numThreads = QThread::idealThreadCount();</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    <span class="keywordflow">if</span> ( numThreads &lt;= 0 )</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        numThreads = 1;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> numRows = rect.height() / numThreads;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <a class="code" href="class_q_vector.html">QVector&lt; TileInfo &gt;</a> tileInfos;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <span class="keywordflow">for</span> ( uint i = 0; i &lt; numThreads; i++ )</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    {</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        QRect tile( rect.x(), rect.y() + i * numRows, rect.width(), numRows );</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        <span class="keywordflow">if</span> ( i == numThreads - 1 )</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;            tile.setHeight( rect.height() - i * numRows );</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        TileInfo tileInfo;</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        tileInfo.imagePos = rect.topLeft();</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        tileInfo.rect = tile;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;        tileInfo.image = &amp;image;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        tileInfos += tileInfo;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    }</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <a class="code" href="class_q_vector.html">QVector&lt; QFuture&lt; void &gt;</a> &gt; futures;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; tileInfos.size(); i++ )</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    {</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keywordflow">if</span> ( i == tileInfos.size() - 1 )</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;            renderTileInfo( azimuthMap, radialMap, pole, &amp;tileInfos[i] );</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        {</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            futures += QtConcurrent::run(</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;#<span class="keywordflow">if</span> QT_VERSION &gt;= 0x060000</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                &amp;QwtPolarSpectrogram::renderTileInfo, <span class="keyword">this</span>,</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;#<span class="keywordflow">else</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;                <span class="keyword">this</span>, &amp;QwtPolarSpectrogram::renderTileInfo,</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;#endif</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;                azimuthMap, radialMap, pole, &amp;tileInfos[i] );</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        }</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    }</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160; </div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; futures.size(); i++ )</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        futures[i].waitForFinished();</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <a class="code" href="class_qwt_polar_spectrogram.html#ade25528fbabf53052c43adf8de9a92c1">renderTile</a>( azimuthMap, radialMap, pole, rect.topLeft(), rect, &amp;image );</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    m_data-&gt;data-&gt;discardRaster();</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160; </div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="keywordflow">return</span> image;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;}</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="keywordtype">void</span> QwtPolarSpectrogram::renderTileInfo(</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; azimuthMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; radialMap,</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <span class="keyword">const</span> QPointF&amp; pole, TileInfo* tileInfo )<span class="keyword"> const</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    <a class="code" href="class_qwt_polar_spectrogram.html#ade25528fbabf53052c43adf8de9a92c1">renderTile</a>( azimuthMap, radialMap, pole,</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        tileInfo-&gt;imagePos, tileInfo-&gt;rect, tileInfo-&gt;image );</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;}</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160; </div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#ade25528fbabf53052c43adf8de9a92c1">  343</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_spectrogram.html#ade25528fbabf53052c43adf8de9a92c1">QwtPolarSpectrogram::renderTile</a>(</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; azimuthMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; radialMap,</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    <span class="keyword">const</span> QPointF&amp; pole, <span class="keyword">const</span> QPoint&amp; imagePos,</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="keyword">const</span> QRect&amp; tile, QImage* image )<span class="keyword"> const</span></div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> intensityRange = m_data-&gt;data-&gt;interval( Qt::ZAxis );</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="keywordflow">if</span> ( !intensityRange.<a class="code" href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">isValid</a>() )</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160; </div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doFastAtan = <a class="code" href="class_qwt_polar_spectrogram.html#ac0684f56d3b1329c1542ae4113f005e8">testPaintAttribute</a>( <a class="code" href="class_qwt_polar_spectrogram.html#a2a6dc68b2e1aa6959b196223bfe2e974a648db7c6b84aec213eaeea7698793288">ApproximatedAtan</a> );</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> y0 = imagePos.y();</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> y1 = tile.top();</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> y2 = tile.bottom();</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> x0 = imagePos.x();</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> x1 = tile.left();</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> x2 = tile.right();</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160; </div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a> )</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    {</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> y = y1; y &lt;= y2; y++ )</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        {</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> dy = pole.y() - y;</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> dy2 = qwtSqr( dy );</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;            QRgb* line = <span class="keyword">reinterpret_cast&lt;</span> QRgb* <span class="keyword">&gt;</span>( image-&gt;scanLine( y - y0 ) );</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;            line += x1 - x0;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160; </div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;            <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> x = x1; x &lt;= x2; x++ )</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;            {</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> dx = x - pole.x();</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160; </div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;                <span class="keywordtype">double</span> a = doFastAtan ? qwtFastAtan2( dy, dx ) : qAtan2( dy, dx );</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;                <span class="keywordflow">if</span> ( a &lt; 0.0 )</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;                    a += 2 * M_PI;</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;                <span class="keywordflow">if</span> ( a &lt; azimuthMap.<a class="code" href="class_qwt_scale_map.html#a4d03a9fea3bd9b66a0b882b8b1a58f4b">p1</a>() )</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;                    a += 2 * M_PI;</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160; </div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> r = qSqrt( qwtSqr( dx ) + dy2 );</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> azimuth = azimuthMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( a );</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> radius = radialMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( r );</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160; </div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> value = m_data-&gt;data-&gt;value( azimuth, radius );</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;                <span class="keywordflow">if</span> ( qIsNaN( value ) )</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;                {</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;                    *line++ = 0u;</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;                }</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;                {</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;                    *line++ = m_data-&gt;colorMap-&gt;rgb( intensityRange, value );</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;                }</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;            }</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        }</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    {</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> y = y1; y &lt;= y2; y++ )</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        {</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> dy = pole.y() - y;</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> dy2 = qwtSqr( dy );</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;            <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* line = image-&gt;scanLine( y - y0 );</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;            line += x1 - x0;</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;            <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> x = x1; x &lt;= x2; x++ )</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;            {</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> dx = x - pole.x();</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160; </div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;                <span class="keywordtype">double</span> a = doFastAtan ? qwtFastAtan2( dy, dx ) : qAtan2( dy, dx );</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;                <span class="keywordflow">if</span> ( a &lt; 0.0 )</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;                    a += 2 * M_PI;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;                <span class="keywordflow">if</span> ( a &lt; azimuthMap.<a class="code" href="class_qwt_scale_map.html#a4d03a9fea3bd9b66a0b882b8b1a58f4b">p1</a>() )</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;                    a += 2 * M_PI;</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; </div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> r = qSqrt( qwtSqr( dx ) + dy2 );</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> azimuth = azimuthMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( a );</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> radius = radialMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( r );</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> value = m_data-&gt;data-&gt;value( azimuth, radius );</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160; </div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;                <span class="keyword">const</span> uint index = m_data-&gt;colorMap-&gt;colorIndex( 256, intensityRange, value );</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;                *line++ = <span class="keyword">static_cast&lt;</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">&gt;</span>( index );</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;            }</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        }</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    }</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;}</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; </div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="class_qwt_polar_spectrogram.html#aeb3e2a6df2960c06d104fe3b80ca39be">  443</a></span>&#160;<a class="code" href="class_qwt_interval.html">QwtInterval</a> <a class="code" href="class_qwt_polar_spectrogram.html#aeb3e2a6df2960c06d104fe3b80ca39be">QwtPolarSpectrogram::boundingInterval</a>( <span class="keywordtype">int</span> scaleId )<span class="keyword"> const</span></div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keywordflow">if</span> ( scaleId == QwtPolar::ScaleRadius )</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;        <span class="keywordflow">return</span> m_data-&gt;data-&gt;interval( Qt::YAxis );</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160; </div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_polar_item.html#a074117c0a19a249e83aca1f9b9291cb5">QwtPolarItem::boundingInterval</a>( scaleId );</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;}</div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8h_source.html#l00023">qwt_clipper.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html"><div class="ttname"><a href="class_qwt_color_map.html">QwtColorMap</a></div><div class="ttdoc">QwtColorMap is used to map values into colors.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00037">qwt_color_map.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a></div><div class="ttdeci">@ Indexed</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00061">qwt_color_map.h:60</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a></div><div class="ttdeci">@ RGB</div><div class="ttdoc">The map is intended to map into RGB values.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00048">qwt_color_map.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html"><div class="ttname"><a href="class_qwt_interval.html">QwtInterval</a></div><div class="ttdoc">A class representing an interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00022">qwt_interval.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html_a0df143a36d76a677976d82987cab8a06"><div class="ttname"><a href="class_qwt_interval.html#a0df143a36d76a677976d82987cab8a06">QwtInterval::minValue</a></div><div class="ttdeci">double minValue() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00192">qwt_interval.h:192</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html_a44820fa5d6e6cefa59dc31ea0d522d61"><div class="ttname"><a href="class_qwt_interval.html#a44820fa5d6e6cefa59dc31ea0d522d61">QwtInterval::maxValue</a></div><div class="ttdeci">double maxValue() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00198">qwt_interval.h:198</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html_ad742235a737d4d0b12cba1cab2df55f3"><div class="ttname"><a href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">QwtInterval::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00210">qwt_interval.h:210</a></div></div>
<div class="ttc" id="aclass_qwt_linear_color_map_html"><div class="ttname"><a href="class_qwt_linear_color_map.html">QwtLinearColorMap</a></div><div class="ttdoc">QwtLinearColorMap builds a color map from color stops.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00098">qwt_color_map.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html"><div class="ttname"><a href="class_qwt_polar_item.html">QwtPolarItem</a></div><div class="ttdoc">Base class for items on a polar plot.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00037">qwt_polar_item.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a074117c0a19a249e83aca1f9b9291cb5"><div class="ttname"><a href="class_qwt_polar_item.html#a074117c0a19a249e83aca1f9b9291cb5">QwtPolarItem::boundingInterval</a></div><div class="ttdeci">virtual QwtInterval boundingInterval(int scaleId) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00381">qwt_polar_item.cpp:381</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a0fa7263683e0982892162174328a55c1"><div class="ttname"><a href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">QwtPolarItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00355">qwt_polar_item.cpp:355</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e"><div class="ttname"><a href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e">QwtPolarItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00077">qwt_polar_item.h:77</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a3dfa4f39bc1ac99b0371b4938abe6ad6a7f9ee77f4ec3170c4c7255bf4bd4399c"><div class="ttname"><a href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a7f9ee77f4ec3170c4c7255bf4bd4399c">QwtPolarItem::AutoScale</a></div><div class="ttdeci">@ AutoScale</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00084">qwt_polar_item.h:83</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a6c03d774c1d089ec8603dd37879a9f4dad95b3f4515ee8f2058c633a5d2367427"><div class="ttname"><a href="class_qwt_polar_item.html#a6c03d774c1d089ec8603dd37879a9f4dad95b3f4515ee8f2058c633a5d2367427">QwtPolarItem::Rtti_PolarSpectrogram</a></div><div class="ttdeci">@ Rtti_PolarSpectrogram</div><div class="ttdoc">For QwtPolarSpectrogram.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00061">qwt_polar_item.h:61</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a803b53442760b19a533e1026bf299f9d"><div class="ttname"><a href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">QwtPolarItem::plot</a></div><div class="ttdeci">QwtPolarPlot * plot() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00118">qwt_polar_item.cpp:118</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_aa3d0e4373d1108f819bddc36e070c746"><div class="ttname"><a href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">QwtPolarItem::renderThreadCount</a></div><div class="ttdeci">uint renderThreadCount() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00282">qwt_polar_item.cpp:282</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_aa5222a54ed4578061f6af398a289ab0e"><div class="ttname"><a href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">QwtPolarItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00201">qwt_polar_item.cpp:201</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_acef8efd945a194b70a11ad39060de917"><div class="ttname"><a href="class_qwt_polar_item.html#acef8efd945a194b70a11ad39060de917">QwtPolarItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00142">qwt_polar_item.cpp:142</a></div></div>
<div class="ttc" id="aclass_qwt_polar_plot_html_abd78afb479d3e1cdb9c15c3a7ffaf159"><div class="ttname"><a href="class_qwt_polar_plot.html#abd78afb479d3e1cdb9c15c3a7ffaf159">QwtPolarPlot::plotRect</a></div><div class="ttdeci">QRectF plotRect() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__plot_8cpp_source.html#l01120">qwt_polar_plot.cpp:1120</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a109af767a738b23d7943496dc38e04be"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a109af767a738b23d7943496dc38e04be">QwtPolarSpectrogram::QwtPolarSpectrogram</a></div><div class="ttdeci">QwtPolarSpectrogram()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00058">qwt_polar_spectrogram.cpp:58</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a1580bae0d09439f639b97a74a6b4b29e"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a1580bae0d09439f639b97a74a6b4b29e">QwtPolarSpectrogram::colorMap</a></div><div class="ttdeci">const QwtColorMap * colorMap() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00137">qwt_polar_spectrogram.cpp:137</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a20de58e09d4972b0dddc34133d3fc955"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a20de58e09d4972b0dddc34133d3fc955">QwtPolarSpectrogram::data</a></div><div class="ttdeci">const QwtRasterData * data() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00106">qwt_polar_spectrogram.cpp:106</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a2a6dc68b2e1aa6959b196223bfe2e974"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a2a6dc68b2e1aa6959b196223bfe2e974">QwtPolarSpectrogram::PaintAttribute</a></div><div class="ttdeci">PaintAttribute</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8h_source.html#l00037">qwt_polar_spectrogram.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a2a6dc68b2e1aa6959b196223bfe2e974a648db7c6b84aec213eaeea7698793288"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a2a6dc68b2e1aa6959b196223bfe2e974a648db7c6b84aec213eaeea7698793288">QwtPolarSpectrogram::ApproximatedAtan</a></div><div class="ttdeci">@ ApproximatedAtan</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8h_source.html#l00045">qwt_polar_spectrogram.h:44</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a37b631a8deea881f5a5b526810f5f131"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a37b631a8deea881f5a5b526810f5f131">QwtPolarSpectrogram::setData</a></div><div class="ttdeci">void setData(QwtRasterData *data)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00091">qwt_polar_spectrogram.cpp:91</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a4586a2019e6942785e764281b961264b"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a4586a2019e6942785e764281b961264b">QwtPolarSpectrogram::~QwtPolarSpectrogram</a></div><div class="ttdeci">virtual ~QwtPolarSpectrogram()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00070">qwt_polar_spectrogram.cpp:70</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a5a9d3b56a601ca2502ae9c6246e53724"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a5a9d3b56a601ca2502ae9c6246e53724">QwtPolarSpectrogram::rtti</a></div><div class="ttdeci">virtual int rtti() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00076">qwt_polar_spectrogram.cpp:76</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a67b139ab25609fedd703e25b65ffe524"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a67b139ab25609fedd703e25b65ffe524">QwtPolarSpectrogram::setColorMap</a></div><div class="ttdeci">void setColorMap(QwtColorMap *)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00122">qwt_polar_spectrogram.cpp:122</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_a8cb2924bfa2bee7e9f03c8b87afd2f2f"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#a8cb2924bfa2bee7e9f03c8b87afd2f2f">QwtPolarSpectrogram::renderImage</a></div><div class="ttdeci">virtual QImage renderImage(const QwtScaleMap &amp;azimuthMap, const QwtScaleMap &amp;radialMap, const QPointF &amp;pole, const QRect &amp;rect) const</div><div class="ttdoc">Render an image from the data and color map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00235">qwt_polar_spectrogram.cpp:235</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_ab18845ab247ca1f1020a6c7e9cb9f666"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#ab18845ab247ca1f1020a6c7e9cb9f666">QwtPolarSpectrogram::setPaintAttribute</a></div><div class="ttdeci">void setPaintAttribute(PaintAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00149">qwt_polar_spectrogram.cpp:149</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_ac0684f56d3b1329c1542ae4113f005e8"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#ac0684f56d3b1329c1542ae4113f005e8">QwtPolarSpectrogram::testPaintAttribute</a></div><div class="ttdeci">bool testPaintAttribute(PaintAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00162">qwt_polar_spectrogram.cpp:162</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_ad37a948d0cc5fcde570608124c624a76"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#ad37a948d0cc5fcde570608124c624a76">QwtPolarSpectrogram::PaintAttributes</a></div><div class="ttdeci">QFlags&lt; PaintAttribute &gt; PaintAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8h_source.html#l00047">qwt_polar_spectrogram.h:47</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_ade25528fbabf53052c43adf8de9a92c1"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#ade25528fbabf53052c43adf8de9a92c1">QwtPolarSpectrogram::renderTile</a></div><div class="ttdeci">virtual void renderTile(const QwtScaleMap &amp;azimuthMap, const QwtScaleMap &amp;radialMap, const QPointF &amp;pole, const QPoint &amp;imagePos, const QRect &amp;tile, QImage *image) const</div><div class="ttdoc">Render a sub-rectangle of an image.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00343">qwt_polar_spectrogram.cpp:343</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_aeb3e2a6df2960c06d104fe3b80ca39be"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#aeb3e2a6df2960c06d104fe3b80ca39be">QwtPolarSpectrogram::boundingInterval</a></div><div class="ttdeci">virtual QwtInterval boundingInterval(int scaleId) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00443">qwt_polar_spectrogram.cpp:443</a></div></div>
<div class="ttc" id="aclass_qwt_polar_spectrogram_html_aeb90f9e41dc95a8ae24b4322d7708ee8"><div class="ttname"><a href="class_qwt_polar_spectrogram.html#aeb90f9e41dc95a8ae24b4322d7708ee8">QwtPolarSpectrogram::draw</a></div><div class="ttdeci">virtual void draw(QPainter *painter, const QwtScaleMap &amp;azimuthMap, const QwtScaleMap &amp;radialMap, const QPointF &amp;pole, double radius, const QRectF &amp;canvasRect) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__spectrogram_8cpp_source.html#l00177">qwt_polar_spectrogram.cpp:177</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html"><div class="ttname"><a href="class_qwt_raster_data.html">QwtRasterData</a></div><div class="ttdoc">QwtRasterData defines an interface to any type of raster data.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00042">qwt_raster_data.h:43</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a4d03a9fea3bd9b66a0b882b8b1a58f4b"><div class="ttname"><a href="class_qwt_scale_map.html#a4d03a9fea3bd9b66a0b882b8b1a58f4b">QwtScaleMap::p1</a></div><div class="ttdeci">double p1() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00099">qwt_scale_map.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a504f1627e0e02ddac03d2ce46507b865"><div class="ttname"><a href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a></div><div class="ttdeci">double transform(double s) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00137">qwt_scale_map.h:137</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_ab1ee6d62addf3f9cf091d425be9ac642"><div class="ttname"><a href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">QwtScaleMap::invTransform</a></div><div class="ttdeci">double invTransform(double p) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00154">qwt_scale_map.h:154</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_polar_spectrogram.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
